package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdPressureElementInfo;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 压力元件 信息数据库操作类
 *
 * @author milihao
 * @date 2020-07-06 09:24:07
 */
@Mapper
public interface WQbdPressureElementInfoDao extends IBaseMapper<WQbdPressureElementInfo, String> {

	List<WQbdPressureElementInfo> queryAll(QueryFilter queryFilter);

	/**
	 * 获取上报数据列表
	 *
	 * @param id id
	 * @param tableName 表名称
	 * @return List<WQbdPressureElementInfo>
	 */
	List<WQbdPressureElementInfo> reportList(@Param("dataId") String id, @Param("tableName") String tableName);

	WQbdPressureElementInfo getParentAndChilden(String id);
}
